package com.kk.nb_order.remote;

import com.woniuxy.boot.common.dto.OrderPayDTO;
import com.woniuxy.boot.common.pojo.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * @Author: K
 * @Date: 2024/12/16
 */
@FeignClient("nb-insurance")
public interface InsuranceService {

    @GetMapping("insurance/getPrice")
    BigDecimal getPrice(@RequestParam("id") Long id);
}
